package cc.autoapi.pucong.auto.flow.core.flow.execNode.entity.node;

import cc.autoapi.pucong.auto.flow.core.flow.execNode.selfenum.DataTypeEnum;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author pucong
 * @description 参数信息
 * @create 2024-09-24
 */
@Data
@Accessors(chain = true)
public class NodeParamOut implements Serializable {

    private static final long serialVersionUID = 1L;

    private String paramCode;

    /**
     * 数据类型 0数字 1字符串 2布尔 3时间 4map 5数组
     */
    private DataTypeEnum dateType;

    private String desc;

    public NodeParamOut() {

    }

    public NodeParamOut(NodeParamOut nodeParamOut) {
        this.paramCode = nodeParamOut.getParamCode();
        this.dateType = nodeParamOut.getDateType();
        this.desc = nodeParamOut.getDesc();
    }
}
